<div class="forums">
  <h1><%= 'Edit Topic'[] %></h1>

  <%= error_messages_for :topic %>
  <% form_for :topic,
    :url  => forum_topic_path(@forum, @topic),
    :html => { :method => :put } do |f| -%>
    <%= render :partial => "form", :object => f %>
    <br />
    <%= submit_tag 'Save Changes'[], :or => link_to('Cancel'[], forum_topic_path(@forum, @topic)) %>
  <% end -%>
</div>